Here to talk about the task scheduling according to the current characteristics of the battery. For a power-hungry task, it needs to be done with a more abundant battery, and if the power is already withered, doing so will drain all the power.Based on this, before doing such a task, obtain the current battery characteristics and make use of the
starts to work. As shown in the following:650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/86/77/wKiom1e_s66yU06KAAFY1nbNgoY917.png-wh_500x0-wm_3 -wmp_4-s_3497171566.png "title=" 2.png "alt=" Wkiom1e_s66yu06kaafy1nbngoy917.png-wh_50 "/>Of course, this is not the same as the phone's own application wake, applications such as: Alarmmanager, wake-up power consumption is only a small peak.The following measures are currently taken to test how to measure the power consumption of the
AlarmmanagerElapsed_timeElapsed_time_wakeupRtcRtc_wakeupexpressed using Elapsed_time and RTC. Assume that the device does not wake up and then wait for the device to wake up to run the corresponding actionSo try to use both of these parametersIn addition, the use of Alarmmanager setinexactrepeating is also able to achieve the purpose of power saving, the main difference is how the system to arrange reminders, Android can adjust the actual trigger events. Triggering multiple reminders at the sam
connection.1. Use gzip to compress text data and use the Gzipinputstream class to access data2. If possible, use JPEG instead of PNG image file3. Use a resource that matches the resolution of the device (for example, you do not have to download 1920x1080 images for a 96x54 size display space)Position1. Log off the location listener when no listening position is required2. Reduce the frequency of update locations3. With the right location service, Android offers three location services, GPS, net
When you want to reduce the update frequency of the background Update Service to reduce the impact of programs on the battery, checking the current battery power and charging status is a good start point.
The impact of program update on the battery depends on the current battery power and charging status. For example,
1. OverviewWith the rapid display of mobile smart devices, battery life in a very large case induced the choice of mass consumers, Android system power management is reasonable or not directly affect the battery life, and battery system as part of it, mainly for battery status monitoring (
The new lithium battery (polymer battery) is short for Polymer lithium-ion battery and one of the types of lithium-ion battery. To understand what a new lithium battery is, in addition to providing the definition of the new lithium batte
How long is the battery life of the Apple phone
First, battery life:
According to official parameters, in IPhone5, for example, full charge (20% charge to 100%) 400 times after the battery performance will be reduced by 80%, each year with 20% performance decline.
The iphone battery life theory time is about 2-3
1. OverviewWith the rapid display of mobile smart devices, battery life in a very large case induced the choice of mass consumers, Android system Power Management is reasonable or not directly affect the battery life, and battery system as part of it, Mainly used for monitoring the battery status (
Original: http://www.2cto.com/kf/201408/326462.html 1, overviewWith the rapid display of mobile smart devices, battery life in a very large case induced the choice of mass consumers, Android system power management is reasonable or not directly affect the battery life, and battery system as part of it, mainly for battery
Lithium-ion battery use, note three points: 1, how to charge for a new battery in the use of lithium batteries should be noted that the battery has been put into hibernation after a period of time, when the capacity is below normal, the use of time also shortened. But the lithium battery is easy to activate, as long as
Recently, the creation of an app, the need to simulate a battery of the progress bar, based on the amount of electricity to set a percentage, the progress bar constantly rolling up and down, like the usual mobile phone charging the same battery progress bar. I implemented the power progress bar on my custom view. Modify the picture to achieve the desired effect
, battery process, and send them to other users. That is to say, you only need to listen to Intent in the app. ACTION_BATTERY_CHANGED broadcast, you can get various battery status attributes!4. Local Code-jni
Code path:
Frameworks/base/services/jni/com_android_server_BatteryService.cpp
This is the local code of the battery
The main differences are seven points:1, the composition of the material is different: lithium batteries with carbon materials (graphite) as the cathode, lithium-containing compounds as the positive electrode, nickel-cadmium battery cathode from the nickel oxide powder and graphite powder and other active substances, the anode is composed of cadmium oxide powder and the active substance of iron oxide powder. 2, the working principle is different: the
Keywords: Android battery meter pl2301 task initialization macro Power_Supply interrupt thread
Platform information:Kernel: linux2.6/linux3.0System: Android/android4.0Platform: Samsung exynos 4210, exynos 4412, and exynos 5250
Author: xubin341719 (You are welcome to reprint it. Please note the author)
Correct the mistakes and learn and make progress together !!
Download the complete driver code and specifications: max17040_pl2301
Android
When there is AC power will not use the battery, only in the AC disconnect when the battery is enabled, power off when the battery can protect the computer, battery life is a little shorter, but negligible. When in use, the plug on the book do not frequently pull plug, to keep the wear interface. Especially in the case
Recently, a netizen asked: The computer's battery icon has a red fork, click on the battery icon, will show: please consider replacing the battery. However, the integration of computer batteries, this should do? Small make up the official suggestion is to take the machine to find after the sale, if you do not want to sell, you can also choose to update some of th
How long does it charge?In the case of 20-40 ℃, the Super battery is charged at a time of 3-5 minutes, and under 40-60 ℃ high temperature conditions, the charge is only 6-10 minutes. When the battery is used on the petrol-hybrid bus, every time the car brakes, the super-battery can recover energy, the vehicle again after the activation, and then push the energy o
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.